package cn.wolfcode.service;


import cn.wolfcode.domain.OrderInfo;
import cn.wolfcode.mq.OrderMQResult;

import java.util.Map;

/**
 * Created by wolfcode-lanxw
 */
public interface IOrderInfoService {

    String doSeckill(int time, Long seckillId, Long phone);

    void timeoutCancel(OrderMQResult orderMQResult);

    OrderInfo find(String orderNo);

    String payOnline(String orderNo, int type);

    void paySuccess(String orderNo);

    void refundOnline(OrderInfo orderInfo);

    void payIntegral(String orderNo, int type);

    void refundIntergral(OrderInfo orderInfo);

}
